﻿using System;
using System.ComponentModel.DataAnnotations;
using XStudio.XCRF.Data.Business.Archieve;

namespace XStudio.XCRF.Data.Entities.CureInfo
{
    /// <summary>
    /// 治疗信息 超声刀信息
    /// </summary>
    public partial class CureSound : Sound<CureSound>, IArchieve
    {
        #region 属性
        /// <summary>
        /// 治疗信息ID
        /// </summary>
        [ForeignKey("CureInfo")]
        public Guid? CureInfoID { get; set; }
        /// <summary>
        /// 治疗信息
        /// </summary>
        public virtual CureInfo CureInfo { get; set; }
        #endregion 属性

        public CureSound Clone()
        {
            CureSound cs = new CureSound();
            cs.Creater = this.Creater;
            cs.CreaterID = this.CreaterID;
            cs.CreateTime = this.CreateTime;
            cs.CureInfo = this.CureInfo;
            cs.CureInfoID = this.CureInfoID;
            cs.Dose = this.Dose;
            cs.IsDeleted = this.IsDeleted;
            cs.LastModifier = this.LastModifier;
            cs.LastModifierID = this.LastModifierID;
            cs.LastModifyTime = this.LastModifyTime;
            cs.Master = this.Master;
            cs.MasterID = this.MasterID;
            cs.Place = this.Place;
            cs.Remark = this.Remark;
            cs.Times = this.Times;
            return cs;
        }
    }
}